// 导入请求对象
import request from '../utils/request'
// 封装请求方法-搜索建议
/* eslint-disable */
const searchArticles = ({ page, per_page, q }) => {
  return request({
    method: 'get',
    url: '/v1_0/search',
    params: {
      page,
      per_page,
      q
    }
  })
}
// 暴露接口
export { searchArticles }
